package model;

public class Filter extends Recognizable{

    private Double passAmount;

    public Filter(Double passAmount, Integer id) {
        super(id);
        this.passAmount = passAmount;
    }

    public Filter(Integer id) {
        super(id);
        this.passAmount = Double.valueOf(1);
    }

    /**
     * @return percentage of liquid to pass
     * 1 = 100%
     * 0 = 0%
     */
    public Double getPass() {
        return passAmount;
    }

}
